<template>
  <div id="app">
    <transition name="fade" mode="out-in">
      <router-view />
    </transition>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
.fade-enter,.fade-leave-to{
  opacity: 0;
}
.fade-enter-active,.fade-leave-active{
  transition: all .3s;
}
#app {
  max-width:15rem;
  min-width: 6.4rem;
  margin:0 auto;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
}
.router-link-exact-active{ color: red;}
</style>
